---
sidebar_position: 6
---

import { FlowToBot } from '../../../../src/js/FlowToBot'

# Phone number

The Phone number input block allows you to ask your user for a phone number and make sure it is properly formatted. It will also make sure that the number is stored in a consistent format. You can choose the default country code or leave it to international:

<FlowToBot
  flow={
    <img
      src="/img/blocks/inputs/phone-number-flow.png"
      width="100%"
      style={{ maxWidth: '500px' }}
      alt="Phone number input in flow"
    />
  }
  bot={
    <img
      src="/img/blocks/inputs/phone-number-bot.png"
      width="100%"
      style={{ maxWidth: '300px' }}
      alt="Phone number input in bot"
    />
  }
/>
